<?php
/**
 * ExtComboBox class file
 *
 * @author TrueSoftware B.V. (The Netherlands)
 * @link http://www.ext4yii.com
 * @copyright Copyright 2007-2010 TrueSoftware B.V. all rights reserved.
 * @license http://www.ext4yii.com/license/
 *          EVALUATION VERSION - NOT FOR COMMERCIAL USE OR DISTRIBUTION.
 * @version 0.7.2
 */

class ExtComboBox extends ExtComboBoxBase
{
    /**
     * Gets the value of ExtJS allQuery property
     * @return String 
     */
    public function getAllQuery()
    {
    	return $this->getConfig("allquery");
    }

    /**
     * Sets the value of ExtJS allQuery property
     * @param String $value 
     */
    public function setAllQuery($value)
    {
    	$this->setConfig("allquery",$value);
    }

    /**
     * Gets the value of ExtJS autoSelect property
     * @return Boolean 
     */
    public function getAutoSelect()
    {
    	return $this->getConfig("autoselect");
    }

    /**
     * Sets the value of ExtJS autoSelect property
     * @param Boolean $value 
     */
    public function setAutoSelect($value)
    {
    	$this->setConfig("autoselect",$value);
    }

    /**
     * Gets the value of ExtJS clearFilterOnReset property
     * @return Boolean 
     */
    public function getClearFilterOnReset()
    {
    	return $this->getConfig("clearfilteronreset");
    }

    /**
     * Sets the value of ExtJS clearFilterOnReset property
     * @param Boolean $value 
     */
    public function setClearFilterOnReset($value)
    {
    	$this->setConfig("clearfilteronreset",$value);
    }

    /**
     * Gets the value of ExtJS displayField property
     * @return String 
     */
    public function getDisplayField()
    {
    	return $this->getConfig("displayfield");
    }

    /**
     * Sets the value of ExtJS displayField property
     * @param String $value 
     */
    public function setDisplayField($value)
    {
    	$this->setConfig("displayfield",$value);
    }

    /**
     * Gets the value of ExtJS forceSelection property
     * @return Boolean 
     */
    public function getForceSelection()
    {
    	return $this->getConfig("forceselection");
    }

    /**
     * Sets the value of ExtJS forceSelection property
     * @param Boolean $value 
     */
    public function setForceSelection($value)
    {
    	$this->setConfig("forceselection",$value);
    }

    /**
     * Gets the value of ExtJS handleHeight property
     * @return Number 
     */
    public function getHandleHeight()
    {
    	return $this->getConfig("handleheight");
    }

    /**
     * Sets the value of ExtJS handleHeight property
     * @param Number $value 
     */
    public function setHandleHeight($value)
    {
    	$this->setConfig("handleheight",$value);
    }

    /**
     * Gets the value of ExtJS hiddenId property
     * @return String 
     */
    public function getHiddenId()
    {
    	return $this->getConfig("hiddenid");
    }

    /**
     * Sets the value of ExtJS hiddenId property
     * @param String $value 
     */
    public function setHiddenId($value)
    {
    	$this->setConfig("hiddenid",$value);
    }

    /**
     * Gets the value of ExtJS hiddenName property
     * @return String 
     */
    public function getHiddenName()
    {
    	return $this->getConfig("hiddenname");
    }

    /**
     * Sets the value of ExtJS hiddenName property
     * @param String $value 
     */
    public function setHiddenName($value)
    {
    	$this->setConfig("hiddenname",$value);
    }

    /**
     * Gets the value of ExtJS hiddenValue property
     * @return String 
     */
    public function getHiddenValue()
    {
    	return $this->getConfig("hiddenvalue");
    }

    /**
     * Sets the value of ExtJS hiddenValue property
     * @param String $value 
     */
    public function setHiddenValue($value)
    {
    	$this->setConfig("hiddenvalue",$value);
    }

    /**
     * Gets the value of ExtJS itemSelector property
     * @return String 
     */
    public function getItemSelector()
    {
    	return $this->getConfig("itemselector");
    }

    /**
     * Sets the value of ExtJS itemSelector property
     * @param String $value 
     */
    public function setItemSelector($value)
    {
    	$this->setConfig("itemselector",$value);
    }

    /**
     * Gets the value of ExtJS lazyInit property
     * @return Boolean 
     */
    public function getLazyInit()
    {
    	return $this->getConfig("lazyinit");
    }

    /**
     * Sets the value of ExtJS lazyInit property
     * @param Boolean $value 
     */
    public function setLazyInit($value)
    {
    	$this->setConfig("lazyinit",$value);
    }

    /**
     * Gets the value of ExtJS lazyRender property
     * @return Boolean 
     */
    public function getLazyRender()
    {
    	return $this->getConfig("lazyrender");
    }

    /**
     * Sets the value of ExtJS lazyRender property
     * @param Boolean $value 
     */
    public function setLazyRender($value)
    {
    	$this->setConfig("lazyrender",$value);
    }

    /**
     * Gets the value of ExtJS listAlign property
     * @return String/Array 
     */
    public function getListAlign()
    {
    	return $this->getConfig("listalign");
    }

    /**
     * Sets the value of ExtJS listAlign property
     * @param String/Array $value 
     */
    public function setListAlign($value)
    {
    	$this->setConfig("listalign",$value);
    }

    /**
     * Gets the value of ExtJS listClass property
     * @return String 
     */
    public function getListClass()
    {
    	return $this->getConfig("listclass");
    }

    /**
     * Sets the value of ExtJS listClass property
     * @param String $value 
     */
    public function setListClass($value)
    {
    	$this->setConfig("listclass",$value);
    }

    /**
     * Gets the value of ExtJS listEmptyText property
     * @return String 
     */
    public function getListEmptyText()
    {
    	return $this->getConfig("listemptytext");
    }

    /**
     * Sets the value of ExtJS listEmptyText property
     * @param String $value 
     */
    public function setListEmptyText($value)
    {
    	$this->setConfig("listemptytext",$value);
    }

    /**
     * Gets the value of ExtJS listWidth property
     * @return Number 
     */
    public function getListWidth()
    {
    	return $this->getConfig("listwidth");
    }

    /**
     * Sets the value of ExtJS listWidth property
     * @param Number $value 
     */
    public function setListWidth($value)
    {
    	$this->setConfig("listwidth",$value);
    }

    /**
     * Gets the value of ExtJS loadingText property
     * @return String 
     */
    public function getLoadingText()
    {
    	return $this->getConfig("loadingtext");
    }

    /**
     * Sets the value of ExtJS loadingText property
     * @param String $value 
     */
    public function setLoadingText($value)
    {
    	$this->setConfig("loadingtext",$value);
    }

    /**
     * Gets the value of ExtJS maxHeight property
     * @return Number 
     */
    public function getMaxHeight()
    {
    	return $this->getConfig("maxheight");
    }

    /**
     * Sets the value of ExtJS maxHeight property
     * @param Number $value 
     */
    public function setMaxHeight($value)
    {
    	$this->setConfig("maxheight",$value);
    }

    /**
     * Gets the value of ExtJS minChars property
     * @return Number 
     */
    public function getMinChars()
    {
    	return $this->getConfig("minchars");
    }

    /**
     * Sets the value of ExtJS minChars property
     * @param Number $value 
     */
    public function setMinChars($value)
    {
    	$this->setConfig("minchars",$value);
    }

    /**
     * Gets the value of ExtJS minHeight property
     * @return Number 
     */
    public function getMinHeight()
    {
    	return $this->getConfig("minheight");
    }

    /**
     * Sets the value of ExtJS minHeight property
     * @param Number $value 
     */
    public function setMinHeight($value)
    {
    	$this->setConfig("minheight",$value);
    }

    /**
     * Gets the value of ExtJS minListWidth property
     * @return Number 
     */
    public function getMinListWidth()
    {
    	return $this->getConfig("minlistwidth");
    }

    /**
     * Sets the value of ExtJS minListWidth property
     * @param Number $value 
     */
    public function setMinListWidth($value)
    {
    	$this->setConfig("minlistwidth",$value);
    }

    /**
     * Gets the value of ExtJS mode property
     * @return String 
     */
    public function getMode()
    {
    	return $this->getConfig("mode");
    }

    /**
     * Sets the value of ExtJS mode property
     * @param String $value 
     */
    public function setMode($value)
    {
    	$this->setConfig("mode",$value);
    }

    /**
     * Gets the value of ExtJS pageSize property
     * @return Number 
     */
    public function getPageSize()
    {
    	return $this->getConfig("pagesize");
    }

    /**
     * Sets the value of ExtJS pageSize property
     * @param Number $value 
     */
    public function setPageSize($value)
    {
    	$this->setConfig("pagesize",$value);
    }

    /**
     * Gets the value of ExtJS queryDelay property
     * @return Number 
     */
    public function getQueryDelay()
    {
    	return $this->getConfig("querydelay");
    }

    /**
     * Sets the value of ExtJS queryDelay property
     * @param Number $value 
     */
    public function setQueryDelay($value)
    {
    	$this->setConfig("querydelay",$value);
    }

    /**
     * Gets the value of ExtJS queryParam property
     * @return String 
     */
    public function getQueryParam()
    {
    	return $this->getConfig("queryparam");
    }

    /**
     * Sets the value of ExtJS queryParam property
     * @param String $value 
     */
    public function setQueryParam($value)
    {
    	$this->setConfig("queryparam",$value);
    }

    /**
     * Gets the value of ExtJS resizable property
     * @return Boolean 
     */
    public function getResizable()
    {
    	return $this->getConfig("resizable");
    }

    /**
     * Sets the value of ExtJS resizable property
     * @param Boolean $value 
     */
    public function setResizable($value)
    {
    	$this->setConfig("resizable",$value);
    }

    /**
     * Gets the value of ExtJS selectOnFocus property
     * @return Boolean 
     */
    public function getSelectOnFocus()
    {
    	return $this->getConfig("selectonfocus");
    }

    /**
     * Sets the value of ExtJS selectOnFocus property
     * @param Boolean $value 
     */
    public function setSelectOnFocus($value)
    {
    	$this->setConfig("selectonfocus",$value);
    }

    /**
     * Gets the value of ExtJS selectedClass property
     * @return String 
     */
    public function getSelectedClass()
    {
    	return $this->getConfig("selectedclass");
    }

    /**
     * Sets the value of ExtJS selectedClass property
     * @param String $value 
     */
    public function setSelectedClass($value)
    {
    	$this->setConfig("selectedclass",$value);
    }

    /**
     * Gets the value of ExtJS shadow property
     * @return Boolean/String 
     */
    public function getShadow()
    {
    	return $this->getConfig("shadow");
    }

    /**
     * Sets the value of ExtJS shadow property
     * @param Boolean/String $value 
     */
    public function setShadow($value)
    {
    	$this->setConfig("shadow",$value);
    }

    /**
     * Gets the value of ExtJS store property
     * @return Ext.data.Store/Array 
     */
    public function getStore()
    {
    	return $this->getConfig("store");
    }

    /**
     * Sets the value of ExtJS store property
     * @param Ext.data.Store/Array $value 
     */
    public function setStore($value)
    {
    	$this->setConfig("store",$value);
    }

    /**
     * Gets the value of ExtJS submitValue property
     * @return Boolean 
     */
    public function getSubmitValue()
    {
    	return $this->getConfig("submitvalue");
    }

    /**
     * Sets the value of ExtJS submitValue property
     * @param Boolean $value 
     */
    public function setSubmitValue($value)
    {
    	$this->setConfig("submitvalue",$value);
    }

    /**
     * Gets the value of ExtJS title property
     * @return String 
     */
    public function getTitle()
    {
    	return $this->getConfig("title");
    }

    /**
     * Sets the value of ExtJS title property
     * @param String $value 
     */
    public function setTitle($value)
    {
    	$this->setConfig("title",$value);
    }

    /**
     * Gets the value of ExtJS triggerAction property
     * @return String 
     */
    public function getTriggerAction()
    {
    	return $this->getConfig("triggeraction");
    }

    /**
     * Sets the value of ExtJS triggerAction property
     * @param String $value 
     */
    public function setTriggerAction($value)
    {
    	$this->setConfig("triggeraction",$value);
    }

    /**
     * Gets the value of ExtJS triggerClass property
     * @return String 
     */
    public function getTriggerClass()
    {
    	return $this->getConfig("triggerclass");
    }

    /**
     * Sets the value of ExtJS triggerClass property
     * @param String $value 
     */
    public function setTriggerClass($value)
    {
    	$this->setConfig("triggerclass",$value);
    }

    /**
     * Gets the value of ExtJS typeAhead property
     * @return Boolean 
     */
    public function getTypeAhead()
    {
    	return $this->getConfig("typeahead");
    }

    /**
     * Sets the value of ExtJS typeAhead property
     * @param Boolean $value 
     */
    public function setTypeAhead($value)
    {
    	$this->setConfig("typeahead",$value);
    }

    /**
     * Gets the value of ExtJS typeAheadDelay property
     * @return Number 
     */
    public function getTypeAheadDelay()
    {
    	return $this->getConfig("typeaheaddelay");
    }

    /**
     * Sets the value of ExtJS typeAheadDelay property
     * @param Number $value 
     */
    public function setTypeAheadDelay($value)
    {
    	$this->setConfig("typeaheaddelay",$value);
    }

    /**
     * Gets the value of ExtJS valueField property
     * @return String 
     */
    public function getValueField()
    {
    	return $this->getConfig("valuefield");
    }

    /**
     * Sets the value of ExtJS valueField property
     * @param String $value 
     */
    public function setValueField($value)
    {
    	$this->setConfig("valuefield",$value);
    }

    /**
     * Gets the value of ExtJS valueNotFoundText property
     * @return String 
     */
    public function getValueNotFoundText()
    {
    	return $this->getConfig("valuenotfoundtext");
    }

    /**
     * Sets the value of ExtJS valueNotFoundText property
     * @param String $value 
     */
    public function setValueNotFoundText($value)
    {
    	$this->setConfig("valuenotfoundtext",$value);
    }

    /**
     * Gets the value of ExtJS listSource property
     * @return String 
     */
    public function getListSource()
    {
    	return $this->getConfig("listsource");
    }

    /**
     * Sets the value of ExtJS listSource property
     * @param String $value 
     */
    public function setListSource($value)
    {
    	$this->setConfig("listsource",$value);
    }

    
    public function __construct()
    {
        parent::__construct();
        $this->configmap = array_merge($this->configmap,array(
            'allquery' => 'allQuery',
            'autoselect' => 'autoSelect',
            'clearfilteronreset' => 'clearFilterOnReset',
            'displayfield' => 'displayField',
            'forceselection' => 'forceSelection',
            'handleheight' => 'handleHeight',
            'hiddenid' => 'hiddenId',
            'hiddenname' => 'hiddenName',
            'hiddenvalue' => 'hiddenValue',
            'itemselector' => 'itemSelector',
            'lazyinit' => 'lazyInit',
            'lazyrender' => 'lazyRender',
            'listalign' => 'listAlign',
            'listclass' => 'listClass',
            'listemptytext' => 'listEmptyText',
            'listwidth' => 'listWidth',
            'loadingtext' => 'loadingText',
            'maxheight' => 'maxHeight',
            'minchars' => 'minChars',
            'minheight' => 'minHeight',
            'minlistwidth' => 'minListWidth',
            'pagesize' => 'pageSize',
            'querydelay' => 'queryDelay',
            'queryparam' => 'queryParam',
            'selectonfocus' => 'selectOnFocus',
            'selectedclass' => 'selectedClass',
            'submitvalue' => 'submitValue',
            'triggeraction' => 'triggerAction',
            'triggerclass' => 'triggerClass',
            'typeahead' => 'typeAhead',
            'typeaheaddelay' => 'typeAheadDelay',
            'valuefield' => 'valueField',
            'valuenotfoundtext' => 'valueNotFoundText',
            'listsource' => 'listSource'
        ));

        $this->eventtable = array_merge($this->eventtable,array(
            'beforequery' => array('queryEvent'),
            'beforeselect' => array('combo','record','index'),
            'collapse' => array('combo'),
            'expand' => array('combo'),
            'select' => array('combo','record','index')
        ));


        $this->proptags = array_merge($this->proptags,array(
            'comboboxitems' => true,
            'template' => true
        ));
        $this->setXType('combo');
        $this->setXClass('Ext.form.ComboBox');
    }    
}
?>